package com.yunhe.job.repository;

import com.yunhe.job.domain.ElasticJobConfigBean;
import org.springframework.data.neo4j.repository.Neo4jRepository;
import org.springframework.stereotype.Repository;

/**
 * 任务配置仓库
 * @author liuronglei
 */
@Repository
public interface ElasticJobConfigRepository extends Neo4jRepository<ElasticJobConfigBean, Long> {
    Iterable<ElasticJobConfigBean> findByJobName(String jobName);
}
